#if !defined(AFX_INFOFRAME_H__EAE558AB_D181_4F4D_88A7_28C2384A77C4__INCLUDED_)
#define AFX_INFOFRAME_H__EAE558AB_D181_4F4D_88A7_28C2384A77C4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InfoFrame.h : header file
//
#include "link.h"
#include "ShadeButtonST.h"

/////////////////////////////////////////////////////////////////////////////
// CInfoFrame dialog

class CInfoFrame : public CDialog
{
// Construction
public:
	BOOL WaitCancle();
	void SetInfoText(LPCTSTR strInfo);
	void AddInfo(LPCTSTR strInfo);
	BOOL CheckCancelButton(VOID);
	void Popup(LPCTSTR szInfo=NULL,LPCTSTR szBtn=NULL);
    void PumpMessages();
    void CancelWait();

	CInfoFrame(CWnd* pParent = NULL);   // standard constructor
    CFont m_font;
    BOOL m_bCancel;
    CButtonST m_btn;//CShadeButtonST m_btn;
    CBitmap m_backgrd;
	CDC *m_pBkDC;
	CLink	m_oTxt;

// Dialog Data
	//{{AFX_DATA(CInfoFrame)
	enum { IDD = IDD_INFO_FRAM };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CInfoFrame)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CInfoFrame)
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	afx_msg void OnPaint();
    afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnBtnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_INFOFRAME_H__EAE558AB_D181_4F4D_88A7_28C2384A77C4__INCLUDED_)
